//引入封装好的modal弹出框组件
import modal from "../02modal"

export default {
    data() {
        return {
            show: false
        }
    },
    //注册组件
    components: {
        modal
    },
    methods: {
        handleOpenModal() {
            this.show = true;
        },
        cancel() {
            //取消逻辑
            this.show = false
        },
        confirm() {
            //确定逻辑
            this.show = false
        }
    }
}